.form {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.form_type_edit-profile {
  padding-top: 83px;
}

.form__input-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  color: #A0A0A0;
}

.form__input-wrapper:first-of-type {
  padding-top: 0;
}

.form__input-wrapper_type_edit-profile {
  flex-direction: row;
  align-items: center;
  padding-top: 17px;
  padding-bottom: 15px;
  border-bottom: 1px solid #424242;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.18;
  color: #000000;
}

.form__input-wrapper_type_edit-profile:last-of-type {
  border-bottom: none;
}

.form__input {
  width: 100%;
  padding: 5px 0 10px;
  border-top: none;
  border-right: none;
  border-left: none;
  border-bottom: 1px solid #F4F4F4;
  outline: none;
  background-color: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.21;
  color: #000000;
}

.form__input_type_edit-profile {
  width: 350px;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom-color: transparent;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.18;
  text-align: right;
}

.form__input_style_error {
  color: #EE3465;
}

.form__input:focus-visible {
  border-bottom: 1px solid #4285f4;
}

.form__errors-wrapper {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
}

.form__errors-wrapper_active {
  opacity: 1;
}

.form__error-name {
  margin: 0;
  opacity: 0;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  color: #EE3465;
}

.form__error-name_active {
  opacity: 1;
}

.form__input-error {
  display: block;
  min-height: 24px;
  opacity: 0;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.2;
  color: #EE3465;
}

.form__input-error_type_edit-profile {
  margin-top: 2px;
  margin-bottom: 2px;
}

.form__input-error_active {
  opacity: 1;
}

.form__btn-submit {
  width: 100%;
  height: 45px;
  padding: 0;
  margin-top: 20px;
  border: none;
  border-radius: 3px;
  background-color: #3456F3;
  cursor: pointer;
  transition: opacity 0.5s;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.21;
  color: #FFFFFF;
}

.form__btn-submit:disabled {
  background-color: #f8f8f8;
  color: #c2c2c2;
  pointer-events: none;
}

.form__btn-submit_hidden {
  display: none;
}

@media screen and (max-width: 990px) {
  .form_type_edit-profile {
    padding-top: 56px;
  }

  .form__errors-wrapper {
    margin-top: 20px;
  }
}

@media screen and (max-width: 620px) {
  .form_type_edit-profile {
    padding-top: 0;
  }

  .form__input_type_edit-profile {
    width: 200px;
  }

  .form__btn-submit {
    font-size: 12px;
    line-height: 1.25;
  }
}
